package com.IO.stream;

import java.io.Serializable;

/***
 * @ClassName: Student
 * @Description:
 * @Auther: 送一一块二向箔
 * @Date: 22:43 2022/2/6
 * @version : V1.0
 */
public class Student implements Serializable {

    private static final long serialVersionUID = 8418372408513004150L;
    private Integer id;
    private String name;

    public Integer getId() {
        return id;
    }

    public Student setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return name;
    }

    public Student setName(String name) {
        this.name = name;
        return this;
    }

    public Student() {
    }

    public Student(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }

}
